<template>
	<Select v-model="selectvalue" :selectList="List" :width="400"></Select>
	<div>当前绑定值1：{{selectvalue}}</div>
	<Select v-model="selectvalue1" :selectList="List1" :width="200"></Select>
</template>
<script setup>
import Select from './components/select.vue'
import { ref } from 'vue'
let selectvalue = ref(undefined)
let selectvalue1 = ref(undefined)
const List = ref([
	{ code: 0, value: 'qwe' },
	{ code: 1, value: 'asd' },
	{ code: 2, value: 'zxc' }
])
const List1 = ref([
	{ code: 0, value: 'qwe' },
	{ code: 1, value: 'asd' },
	{ code: 2, value: 'zxc' }
])
</script>
<style scoped>
</style>
